package com.hhf.rpc.core.retry;

import com.hhf.rpc.core.model.RpcResponse;

import java.util.concurrent.Callable;

/**
 * @Author hhf
 * @Date 2024/10/20
 * @Description 重试策略接口
 */
public interface RetryStrategy {

    RpcResponse doRetry(Callable<RpcResponse> callable) throws Exception;

}
